package com.example.member.service.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 用户关注记录表
 * </p>
 *
 * @author root
 * @since 2025-03-16
 */
@Getter
@Setter
@TableName("member_follow")
public class MemberFollow implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 关注记录ID
     */
    @TableId(value = "follow_id", type = IdType.AUTO)
    private Integer followId;

    /**
     * 当前会员的ID
     */
    private String followerMemberId;

    /**
     * 被关注的会员ID
     */
    private String followedMemberId;

    /**
     * 关注时间
     */
    private Date followTime;
}
